<?php
require_once (MLEngine.'MakiFactory/MySQLMakis/MySQLFactory.php');

abstract class MakiFactory {

	
	const   MYSQL = 0;
	const   ORACLE = 1;

	
	public abstract function getBoletinMaki();
	public abstract function getCategoriaMaki();
	public abstract function getFuenteMaki();
	public abstract function getMediaMaki();
	public abstract function getNoticiaMaki();
	public abstract function getPodcastMaki();
	public abstract function getUserMaki();
	
	public static  function getMakisubfactory($tipo) {
		switch ($tipo) {
		case 0:		return new MySQLFactory();
		//default:	return new OracleFactory();
		}
	}
	
}

?>